package com.laoma.stockcenter.dao.entity;

import com.laoma.ordercenter.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * @author mayuanfei
 */
@Data
@Table(name = "stock_info")
public class StockInfo extends BaseEntity {
    @Id
    private Integer id;

    @Column(name = "product_id")
    private String productId;

    @Column(name = "product_name")
    private String productName;

    private Integer count;
}